import http from './http';

export const cityApi = (params?: object) => http.get('/cities/list', params);

export const tableApi = (data?: object) =>
  http.post('/cities/manage/list', data);

export const delApi = (data?: object) => http.post('/cities/manage/del', data);
export const addApi = (data?: object) => http.post('/cities/manage/add', data);

export const loginApi = (data?: object) => http.post('/users/login', data);
